Skip to content

Fix archive rollback with custom install directories - #9066

Merged
loopx-agent merged 81 commits into
mainfrom
codex/rollback-custom-install-layout-20261119
Nov 20, 2026
Merged

loopx-agent merged 81 commits into
mainfrom
codex/rollback-custom-install-layout-20261119

Conversation

@loopx-agent

@loopx-agent loopx-agent commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Goal And Delivered Outcome

Archive installs support custom bin and release directories. Rollback previously searched the default releases directory and resolved the default launcher. It now uses the same directory overrides as installation. An omitted or empty override keeps its existing default.

The configured layout regression fails in all four cases on 5cfd6ae7d571f2f97da40982db23f76540723c89. The fix passes those cases and the four default layout cases. The intended base is main.

Current Head And Review Hold

GitHub's PR file list still uses the original base snapshot and shows 641 files.
The comparison to the current main commit has the three intended files. Use
that comparison for the proposed diff. Keep the PR on hold until the provider
file list reflects it. Verified comparison

Tested PR head a36b1710fecf410b0e2612ef4ead781e16c7c0d2 on
8e9a28a866da06cc6fd63e78709910fe35dad564. The revised test and release
note placements compose cleanly with paired launcher recovery at
52efe8d251249df82c54434d3ff32ab95492fe03. The runtime layout fix is unchanged.
Paired launcher PR

Check Result
Configured directories before the fix 10 configured cases failed against the same main code. The 10 default cases passed.
Current PR head 144 passed and 3 native Windows cases skipped. Ruff, diff hygiene and the bilingual RFC check passed.
Clean combined tree with #9007 161 passed and 3 native Windows cases skipped.
Installed macOS path The published 2.3.0 archive and the combined 2.4.0 source install with its verified Chat bundle ran in custom directories on File and SQLite. Both launchers rolled back. The original Todo, lease and receipts persisted. An operation replay kept the same revision and a new write succeeded under the original lease.
Installed failure and recovery A non-executable helper refused the switch. Core Doctor failure and SIGINT restored both owned launchers. A later writer's same-target symlink replacement survived recovery. The authority reads stayed equal on both providers.
Standard premerge The installer smoke failed on the exact PR and exact main at the same packaged authority-text assertion. The other selected checks passed. The owning repair is #9079.

The installed rehearsal covers a composed local source build. Official 2.4.0
artifacts, other platforms and exact-head independent review remain open.

Author Declaration

Written by model_agent, OpenAI Codex (GPT-6).

The existing installer directory contract in scripts/install-local.sh and documented rollback preflight in docs/product/release-readiness.md at 5cfd6ae7d571f2f97da40982db23f76540723c89 define the scope.

Criterion Disposition Symbol or path Evidence
Read installer directory overrides during rollback implemented loopx/self_update.py Configured and default layout cases and isolated installs below
Keep compatibility preflight and doctor recovery implemented tests/test_self_update_runtime_activation.py Refused compatibility check leaves the source launcher in place. Doctor failure restores it.

Prior Scope And Continuation

The rollback selects the snapshot and switches the loopx launcher in the configured layout. The isolated rehearsal still observed loopx-apply-rrule pointing at the candidate. Paired launcher recovery is tracked in #9007.

Prior Revision Validation

Tested revision 23042c8ff1ec57eebf3e9cdfc54cce6b90b4e249. Run state finished. Inputs synthetic and public_fixture.

Check kind Result Public-safe evidence
regression_parity passed test_rollback_cli_preserves_selected_route_and_failure_boundaries runs the exact CLI route with configured and default directories. Four configured cases fail on main and pass on the fix. All four default cases pass on both. The cases cover success, compatibility refusal, doctor recovery and extension failure.
unit passed uv run --extra test python -m pytest -q tests/test_self_update_runtime_activation.py tests/test_archive_installer_commit_response.py tests/test_update_artifact.py reported 138 passed and 3 skipped. Ruff passed on both changed Python files.
real_entrypoint and real_backend passed On macOS, the released 2.3.0 archive installed into custom directories. The same directories then received the exact 2.4.0 source snapshot with its verified Chat bundle. On both File and SQLite, loopx update --rollback previous switched the installed launcher back to 2.3.0 and preserved the existing Todo, active lease, stored receipts and configuration. The older launcher read and replayed the candidate's compatible write with no extra revision and performed a fresh write under the original lease. The pre-upgrade backup was verified in a separate destination. Released 2.3.0 archive
integration passed The standard changed-path premerge check passed. The control-plane maintainability ratchet reported one advisory failure.
integration blocked The official runtime archive build rejects the same unqualified C1 default on main and this head. The successful rehearsal covers the local source installation and the released 2.3.0 archive. Public 2.4.0 archive and other platform qualification remain open.

The four branch outcomes and the two real providers cover the custom directory scope. Three tests were skipped by the suite. PR review and hosted validation remain separate from the local results.

Prior isolated integration with #9007

The exact heads 23042c8ff1ec57eebf3e9cdfc54cce6b90b4e249 and 26aedee3d4624d1fdf2ebbcba91ba5e388b44329
conflict in docs/product/release-readiness.md and
tests/test_self_update_runtime_activation.py. The runtime file merges cleanly.
On main 5cfd6ae7d571f2f97da40982db23f76540723c89, the isolated reconciliation
preserved both directory overrides, kept the paired launcher behavior and ran
the joint test across default/configured layouts and absent/present helpers.
The three updater and installer test modules reported 157 passed and 3 skipped.

On macOS, File and SQLite backed the same in-place upgrade from the published
2.3.0 archive to the reconciled source snapshot. With an executable target
helper, both launchers returned to 2.3.0 and the original Todo, lease, receipts
and compatible candidate write remained readable. Replaying the original
operation kept its revision and a fresh write succeeded under the same lease.

Removing execute permission from the target helper refused the switch. A
controlled core Doctor failure and a real SIGINT during target Doctor restored
both owned launchers. A simulated later writer replaced the helper symlink
with a new inode pointing to the same target. Rollback preserved that replacement
and recovered its own primary launcher. All failure cases preserved authority
state in both providers. The reconciled tree was tested locally. The public
2.4.0 archive qualification above remains open.

Frontend / Visual Evidence

UI impact none. The change is in POSIX CLI snapshot rollback directory resolution.

Type Of Change

  • Bug fix
  • Documentation update
  • Test update

LoopX Area

  • Build, packaging, installer, or CI

Shared-authority RFC Fixture Impact

N/A. This patch changes launcher and snapshot path resolution.

Boundary Checklist

  • The diff and description contain public-safe evidence.
  • The fix is scoped to archive rollback directories.
  • No paired RFC changed. The bilingual check passed.
  • UI impact is recorded.
  • The commit includes a DCO sign-off.

cocolord and others added 4 commits November 19, 2026 00:38
…covery

Preserve the benchmark toolkit public exports and static types while keeping execution and experiment implementations out of metadata discovery. Qualify source and installed Core paths, and reconcile the paired minimal/Standard RFC boundary without changing activation or authority defaults.

Signed-off-by: cicolord <[email protected]>
huangruiteng and others added 24 commits November 19, 2026 13:58
…n-demand-20261119

Keep empty Todo queues out of ordinary Worker context
…-20261119

Defer Yardstick evaluation until explicitly selected
…e-20261119

refactor(core): keep benchmark execution out of capability discovery
…k-source-20261116

Reject recalled Lark messages before admission or reply
…baseline-20261119

Record the verified LoopX 2.3.0 release baseline
…checkpoint-20261118t102906

Qualify native saved checkpoint reads with complete Turns
…-fixtures-20261119

Keep synthetic Git-path fixtures from failing the public boundary check
…ource-20261119

Preserve quota spend source when prepared work is admitted
…eparation-budget-20261118t094859

Use the remaining native preparation time for readiness
…marker-release-20261119

Retry cleanup of an owned file mutation marker
…tion-owners-20261119

fix(quota): keep replan recovery within projection boundaries
loopx-agent and others added 23 commits November 19, 2026 20:58
…ith handoff and user actions (#9074)

Signed-off-by: LoopX Agent <[email protected]>
Remove redundant defensive prose while preserving published heartbeat wrappers and externally managed skill readiness.

Validated with 197 related tests, independent historical wrapper migrations and negative cases, installed-skill readback, and current-main quick canary. Existing CI qualification and infrastructure limitations remain recorded in PR #9072.

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
…dit-chat-retry-feedback-8729-20261119

Signed-off-by: LoopX Agent <[email protected]>
… of mid-turn failed reports (#9077)

Signed-off-by: LoopX Agent <[email protected]>
* refactor(content-ops): slim surface module and eliminate Any

Signed-off-by: LoopX Agent <[email protected]>

* fix(content-ops): reject malformed angle source_item_ids containers

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
…cope runtime revision in handoffs query (#9088)

Eliminate the remaining O(N) Effect runtime RPCs and uncached runtime fingerprinting inside tracking.query(): enter effect_runtime_request_scope() for the query, memoize pure history_inspect lifecycle decisions across entries sharing identical Goal refs while holding the Goal lifetime guard, lazily discover legacy ingress files only when external audience recovery needs them, and preserve entry scan order across Goal batches.

Signed-off-by: LoopX Agent <[email protected]>
…led releases and extend readiness timeout to 90s (#9089)

Signed-off-by: LoopX Agent <[email protected]>
)

* refactor(control-plane): split and slim quota monitor_poll_commit

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve legacy lane budget and observation diagnostic order

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
… retire ceiling (#8911)

* refactor(native-chat): move steward commission mixin to steward_commands and retire external_conversations ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): respect include_raw_response in retained result recovery

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
…project_contexts guard, and retire ceiling (#8920)

* refactor(chat): move session lifecycle mixin to session_open, deduplicate runtime helpers, and retire ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): drop turn_done_events slot before waking waiters on Thread.start failure

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
…le monitor recovery, and cache private delivery scans (#9093)

Signed-off-by: LoopX Agent <[email protected]>
…-execution-pr-20261114

Recover the original Session and Turn from a confirmed Chat task

@loopx-agent loopx-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewer: model_agent · gpt-6.2-sol · OpenAI (runtime_reported, max)

Approval conclusion (author-owned PR; GitHub blocks formal self-approval)

Reviewed head a36b1710fecf410b0e2612ef4ead781e16c7c0d2

动机 / Motivation

使用自定义 bin 和 releases 目录安装归档版的人,需要从原启动器回到上一份可用快照。 旧版只在默认目录寻找回滚快照,因此找不到自定义目录里已有的上一版本。 带空格的自定义目录中,File 和 SQLite 都能找到上一份快照,切换原启动器并读回同一份 Todo 和存储 revision。 本次交付覆盖 POSIX 归档版 CLI 的快照和主启动器。 原有回滚约定

改动思路 / Approach

回滚读取安装器已有的 LOOPX_BIN_DIR 和 LOOPX_RELEASES_DIR。 原安装器负责目录约定,回滚继续使用既有兼容检查、安装锁和主启动器恢复。 用户调用同一入口后,回滚进程从原布局选择快照,确认目标可读同一权威 Todo,再写入符号链接。目标 Core Doctor 失败后,按该次链接的身份恢复。 安装配置 兼容检查

具体改动 / Changes

GitHub 基于旧快照列出 641 个文件。逐项核对路径、Git 对象与模式,638 个条目与当前 main 相同。实际交付只有 3 个文件,+28 / −6。 实际 main 为 8e9a28a866da06cc6fd63e78709910fe35dad564,GitHub 文件快照基点为 5cfd6ae7d571f2f97da40982db23f76540723c89。平台 diff 返回 406,已用分页清单和 Git 树逐项核对。 实际差异

依据 docs/product/release-readiness.md 复验。installed-layout 覆盖安装目录、空值和省略。safe-switch-and-readback 覆盖旧快照的兼容读回以及主启动器在目标不可用后的恢复。 测试源码

关键代码讲解

  • _user_loopx_bin 在原 bin 路径选择处读取配置。结果继续由回滚事务用于主启动器切换。 入口
  • _user_releases_dir 将相同安装的快照目录交给原计划,在 previous 中排除当前快照。 选择
  • execute_rollback_plan 使用既有兼容性检查核对原数据。切换后的实际 Doctor 失败时,恢复该次替换的链接。 执行

对主干的风险 / Risks

更新与归档测试 144 通过,3 个原生 Windows 用例跳过。独立矩阵 main 的四个自定义目录场景均找不到目标,候选 12 项均通过。变更范围 Ruff 和双语 RFC 检查通过。 目标 Core Doctor 被注入失败时,两种后端都恢复原符号链接,仍可读取原 Todo 和相同 revision。默认目录中的无关启动器保持原样。 变量为空和省略时的八个默认路径对照在 main 和候选均通过。 静态预演可和 #900752efe8d 组合。成对启动器的交付和安装证据归该 PR。 #9007

语义与 CI 对齐

预合并 6 项直接及 18 项所选检查通过。唯一失败是 installer smoke 的嵌入技能文案断言,同一命令在实际 main 逐字复现。 回滚本身已由独立路径验证。合入仍需 canonical 文件列表和仓库安装检查通过。托管 CI 状态未读取。两个已有变量属于同一目录约定,其他消费者仍用原入口。 安装 smoke 修复

我的整体评价 / Verdict

同意当前提交的代码改动。自定义目录的回滚恢复了用户可用的上一份快照和原有工作。验证用两份隔离的源码启动快照和真实 File、SQLite,实际执行目标进程的兼容、Todo 读回与 Doctor。正式归档、新旧二进制组合、双启动器实装和原生 Windows 留待各自验收。 GitHub 的文件列表需要恢复成实际对照,安装 smoke 保留既有合入门槛。

English verdict: APPROVE at a36b171. The exact source passes the custom archive rollback, failed-Doctor recovery and default-layout controls on File and SQLite. Merge remains on hold for the stale GitHub comparison and pre-existing installer smoke.

@loopx-agent
loopx-agent merged commit b8819fe into main Nov 20, 2026
31 of 40 checks passed
@loopx-agent
loopx-agent deleted the codex/rollback-custom-install-layout-20261119 branch November 20, 2026 17:19
loopx-agent added a commit that referenced this pull request Nov 21, 2026
* fix(cli): preserve typed runtime diagnostics in Turn failures

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): support per-endpoint model preferences and Codex-to-Antigravity failover (#9141)

Signed-off-by: LoopX Agent <[email protected]>

* Keep the prepared Chat adapter available to a retry (#9134)

A failed worker start can finish cleanup after a same-turn retry has
selected the adapter. Keep its lifetime tied to the Session and let
failed dispatch release its own worker registration. The regression
asserts one upstream turn and explicit adapter closure with the Session.

Port the fix from 4453e4bdd77486ec14b952f88ca893310b32e26c.

(cherry picked from commit 173e42b4f051b885c3a3389e1cad9c5722f7b7dd)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover zero-effect monitors and cleared-replan reports (#9143)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): admit flexible_primary_available executor transitions in conversation_scope (#9145)

Signed-off-by: LoopX Agent <[email protected]>

* Verify quota gate scope through signed lane references (#9101)

* test(quota): verify scoped gates through complete lane references

Signed-off-by: LoopX Agent <[email protected]>

* Test canonical quota gates in both public response modes

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Test C1 planning and Host input from the original quota capture (#9102)

* Use recorded quota decisions in the no-Todo settlement regression

Signed-off-by: LoopX Agent <[email protected]>

* Exercise the complete Host prompt from the captured quota source

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Prepare the CLI budget baseline with a private Git index (#9103)

Signed-off-by: LoopX Agent <[email protected]>

* Exercise C1 Goal delivery and bound replan from the saved source (#9104)

Signed-off-by: LoopX Agent <[email protected]>

* Keep long claim overlap scopes on demand (#9086)

* Link long thin-claim overlap lists to their receipts

Signed-off-by: LoopX Agent <[email protected]>

* Read claim overlap details without copying the lease

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve explicit Monitor Todo selection (#9099)

Carry Todo selection provenance into quota admission. Preserve explicit secondary Monitor polling and recovery from previously admitted receipts.

Signed-off-by: LoopX Agent <[email protected]>

* Keep ready Todo scope details on the required context read (#9106)

Signed-off-by: LoopX Agent <[email protected]>

* Fix archive rollback with custom install directories (#9066)

* refactor(core): defer benchmark implementations during capability discovery

Preserve the benchmark toolkit public exports and static types while keeping execution and experiment implementations out of metadata discovery. Qualify source and installed Core paths, and reconcile the paired minimal/Standard RFC boundary without changing activation or authority defaults.

Signed-off-by: cicolord <[email protected]>

* Defer Yardstick evaluation until an enabled Explore read

Signed-off-by: cicolord <[email protected]>

* Omit empty Todo summary lanes from ordinary Worker context

Signed-off-by: cicolord <[email protected]>

* fix(update): honor configured archive directories during rollback

Signed-off-by: LoopX Agent <[email protected]>

* fix(lark): replay recall guard on current main

Signed-off-by: huangruiteng <[email protected]>

* docs: record the verified LoopX 2.3.0 release baseline

Signed-off-by: LoopX Agent <[email protected]>

* Preserve quota spend source when prepared work is admitted

Signed-off-by: LoopX Agent <[email protected]>

* test(quota): qualify native saved complete-Turn checkpoints

Signed-off-by: LoopX Agent <[email protected]>

* Retry cleanup of an owned file mutation marker

Signed-off-by: LoopX Agent <[email protected]>

* Keep synthetic Git-path test data outside the public source scan

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): share native preparation wait with readiness

Signed-off-by: LoopX Agent <[email protected]>

* fix(doctor): bind package update readback to its Python environment

Signed-off-by: LoopX Agent <[email protected]>

* Keep Doctor discovery separate from service activation

Signed-off-by: LoopX Agent <[email protected]>

* Verify the recorded Python launcher before Doctor probes it

Signed-off-by: LoopX Agent <[email protected]>

* fix(desktop): require runtime qualification for macOS preview updates

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): reuse replan projection owners during recovery

Signed-off-by: LoopX Agent <[email protected]>

* Qualify Codex 0.169 native context replay on main

Signed-off-by: LoopX Agent <[email protected]>

* Stop regenerating retired quota view aliases

Signed-off-by: LoopX Agent <[email protected]>

* fix: pin deferred native context reads to the original capture

Signed-off-by: LoopX Agent <[email protected]>

* Keep native capture navigation within small output budgets

Signed-off-by: LoopX Agent <[email protected]>

* Retire legacy heartbeat work prompt generation

Signed-off-by: LoopX Agent <[email protected]>

* Capture C1 composition failures as receipt diagnostics

Signed-off-by: LoopX Agent <[email protected]>

* Recover interrupted native Todo readiness from the original Turn

Signed-off-by: LoopX Agent <[email protected]>

* Revalidate the original lease before publishing resumed native context

Signed-off-by: LoopX Agent <[email protected]>

* Fence native readiness publication with the canonical lease writer

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): keep Codex fallback on the original C1 runtime

Signed-off-by: LoopX Agent <[email protected]>

* fix(scheduler): pin the originating fallback launchers

Signed-off-by: LoopX Agent <[email protected]>

* Retire the duplicate Codex App scheduler projection

Signed-off-by: LoopX Agent <[email protected]>

* Seed the recorded scheduler profile in the elapsed-backoff fixture

Signed-off-by: LoopX Agent <[email protected]>

* Verify canonical cadence on refused and settled Turns

Signed-off-by: LoopX Agent <[email protected]>

* Pin named Core commands in saved scheduler fallbacks

Signed-off-by: LoopX Agent <[email protected]>

* fix(research): preserve saved case addresses when a version cannot open

Signed-off-by: LoopX Agent <[email protected]>

* Preserve citation focus after a saved study refresh

Signed-off-by: LoopX Agent <[email protected]>

* Capture authenticated LoopX receipts for Research attention (#8790)

* feat(research): capture authenticated LoopX attention receipts

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): tighten attention receipt provenance

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* fix(research): publish attention captures after source validation

Signed-off-by: huangruiteng <[email protected]>

---------

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Co-authored-by: huangruiteng <[email protected]>

* Recover the original Session and Turn from a confirmed Chat task

Signed-off-by: huangruiteng <[email protected]>

* perf(lark,native_chat): eliminate redundant full-directory JSON reparsing in steward chat loops (#9041)

* perf(lark,native_chat): avoid full directory reparsing in steward chat loops

- Make LarkOwnerAttention._route iterate capture candidates lazily so matching stops at the newest valid p2p capture.
- Reuse FileChatDiscovery in PrivateIngressObserver._records while preserving strict field validation and fail-closed errors.
- Reuse FileChatDiscovery in ChatExternalConversations.pending so unchanged request journals skip redundant JSON reads and stay mutation-isolated.
- Add regression and scan-efficiency tests in tests/test_lark_steward_directory_scan_perf.py.

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): project small recovery metadata fields to stop data_url memory growth

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* Retire transitional smoke checks and duplicate execution (#9073)

Signed-off-by: lusendong.6789 <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* feat(steward): support probe-gated generic continuous_monitor todos with handoff and user actions (#9074)

Signed-off-by: LoopX Agent <[email protected]>

* Remove redundant defensive prose from prompts and comments (#9072)

Remove redundant defensive prose while preserving published heartbeat wrappers and externally managed skill readiness.

Validated with 197 related tests, independent historical wrapper migrations and negative cases, installed-skill readback, and current-main quick canary. Existing CI qualification and infrastructure limitations remain recorded in PR #9072.

Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>

* Keep original Chat retry errors visible during receipt refresh

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate report validator python drift and allow cancel of mid-turn failed reports (#9077)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add exact-head PR review signals and protected merge confirmation (#9081)

Signed-off-by: LoopX Agent <[email protected]>

* feat(steward): add isolated OpenViking long-term memory with per-speaker boundaries (#9083)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(content-ops): slim surface module and eliminate Any (#8961)

* refactor(content-ops): slim surface module and eliminate Any

Signed-off-by: LoopX Agent <[email protected]>

* fix(content-ops): reject malformed angle source_item_ids containers

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(collaboration): batch handoff query Goal lifetime guard lock per Goal (#9085)

Signed-off-by: LoopX Agent <[email protected]>

* fix(hosts): raise managed service startup readiness timeout to 45s (#9087)

Signed-off-by: LoopX Agent <[email protected]>

* perf(manager-context): memoize history_inspect lifecycle checks and scope runtime revision in handoffs query (#9088)

Eliminate the remaining O(N) Effect runtime RPCs and uncached runtime fingerprinting inside tracking.query(): enter effect_runtime_request_scope() for the query, memoize pure history_inspect lifecycle decisions across entries sharing identical Goal refs while holding the Goal lifetime guard, lazily discover legacy ingress files only when external audience recovery needs them, and preserve entry scan order across Goal batches.

Signed-off-by: LoopX Agent <[email protected]>

* refactor(lark): slim private_conversations below 2000 lines with net LOC reduction (#8929)

Signed-off-by: LoopX Agent <[email protected]>

* perf(chat,hosts): skip frontend source re-hashing on immutable installed releases and extend readiness timeout to 90s (#9089)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(control-plane): split and slim quota monitor_poll_commit (#8885)

* refactor(control-plane): split and slim quota monitor_poll_commit

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve legacy lane budget and observation diagnostic order

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(quota): slim loopx/quota.py and tighten Any count to zero (#8939)

Signed-off-by: LoopX Agent <[email protected]>

* refactor(native-chat): slim external_conversations below 2k lines and retire ceiling (#8911)

* refactor(native-chat): move steward commission mixin to steward_commands and retire external_conversations ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): respect include_raw_response in retained result recovery

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* refactor(chat): slim chat_runtime below 1,500 lines, fix entry-point project_contexts guard, and retire ceiling (#8920)

* refactor(chat): move session lifecycle mixin to session_open, deduplicate runtime helpers, and retire ceiling

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): drop turn_done_events slot before waking waiters on Thread.start failure

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): paginate open PR signal GraphQL, allow signal-unavailable monitor recovery, and cache private delivery scans (#9093)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): back off noop recovery retries and cache recovery lookups (#9096)

Signed-off-by: LoopX Agent <[email protected]>

* perf(native_chat,lark): cache unchanged quota backlog health and interrupt observations (#9098)

Signed-off-by: LoopX Agent <[email protected]>

* perf(lark,native_chat): coalesce listener snapshots and cache recovery event summaries (#9100)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: cicolord <[email protected]>
Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>

* refactor(issue-fix): consolidate maintainer-correction admission and slim pr_lifecycle (#8897)

Signed-off-by: LoopX Agent <[email protected]>

* Fix truncated requests and responses in the Codex API relay (#8713)

* fix(codex relay): fence incomplete model requests before drain

Signed-off-by: LoopX Agent <[email protected]>

* fix(codex relay): surface incomplete upstream responses

Port the verified response framing fix to the request-admission branch. Original candidate 27bc3aee311cdfc6a00466ff9d3b58c7db36e01b.

Signed-off-by: LoopX Agent <[email protected]>

* Bound Codex relay writes to clients that stop reading

Signed-off-by: LoopX Agent <[email protected]>

* Reject upstream chunked responses missing the trailer terminator

Signed-off-by: LoopX Agent <[email protected]>

* Validate upstream chunk data delimiters before relay completion

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): repair dsh closeout test, antigravity failover alias, and release download retry (#9147)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): update v2.4.0 release notes and dsh-loopx-plugin 0.1.1-beta.7 README (#9149)

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): recover saved answers and diagnose lost workers (#9120)

* fix(chat): recover saved answers and diagnose lost workers

Signed-off-by: LoopX Agent <[email protected]>

* style(lark): keep private_conversations within module line budget

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): retain execution_worker_exited in pending backlog count

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(chat): resume steward requests lost before dispatch (#9125)

Signed-off-by: LoopX Agent <[email protected]>

* fix(benchmark): restore frozen v1 archives and align checkpoint/runtime tests with C1 defaults (#9151)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): stabilize CLI help, architecture guards, onboarding gate, and public smokes (#9152)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover report selection across python upgrades and prevent queue kill on observation monitors (#9155)

Signed-off-by: LoopX Agent <[email protected]>

* fix(release): align extensions, chat, presentation, and transport tests for v2.4.0 (#9156)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice (Slice B1) (#9154)

* fix(control-plane): stabilize v2.4.0 quota, turn-envelope, and capabilities slice

Signed-off-by: LoopX Agent <[email protected]>

* fix(quota): preserve tokenless identity and exact numeric types in attach_complete_turn_context

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover frozen report contract failures and rebind resumed task leases (#9157)

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): recover pre-dispatch runtime failures across endpoints and stop receipt-unknown disk churn (#9159)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures (#9158)

* fix(control_plane): align lease recovery, settlement readback, and runtime fixtures

Signed-off-by: LoopX Agent <[email protected]>

* fix(control_plane): forward record_capture in worker outage test and harden version type guard

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 explore, context, and checkpoint tail slice (Slice B4) (#9161)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): stabilize v2.4.0 replan, monitor recovery, and staged-read slice (Slice B5) (#9160)

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording (#9162)

* docs(release): reconcile final v2.4.0 stabilization PRs and boundary wording

Signed-off-by: LoopX Agent <[email protected]>

* docs(release): align #9158 and #9161 descriptions with verified commits

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>

* fix(steward): tolerate minor JSON delimiter glitches and recover saved report candidates (#9164)

Signed-off-by: LoopX Agent <[email protected]>

* fix(control-plane): preserve bound yardstick reversals in native replan openings (#9165)

Signed-off-by: LoopX Agent <[email protected]>

* fix(native-chat): recover loopback relay 401 failures and isolate test auth (#9167)

Signed-off-by: LoopX Agent <[email protected]>

---------

Signed-off-by: LoopX Agent <[email protected]>
Signed-off-by: cicolord <[email protected]>
Signed-off-by: huangruiteng <[email protected]>
Signed-off-by: lusendong.6789 <[email protected]>
Signed-off-by: Lusen Dong <[email protected]>
Co-authored-by: cicolord <[email protected]>
Co-authored-by: huangruiteng <[email protected]>
Co-authored-by: Lusen Dong <[email protected]>
Co-authored-by: TRAE CLI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants